Skip to content

Updated tests with new error IDs #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025
Merged

Updated tests with new error IDs #74

merged 1 commit into from
May 1, 2025

Conversation

jm9176
Copy link
Member

@jm9176 jm9176 commented May 1, 2025

Updated tests with new error IDs

@jm9176 jm9176 requested a review from abhibaruah May 1, 2025 16:07
@jm9176 jm9176 merged commit ae90754 into main May 1, 2025
5 checks passed
import matlab.unittest.fixtures.WorkingFolderFixture;
testcase.applyFixture(WorkingFolderFixture);

% Add the existing files to the current folder
copyfile(fullfile(currDir,'dataFiles'),pwd);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this get get cleaned?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Compression',comp),testcase.PyException);
'Compression',comp),errID);

comp = 'zlib';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment here for this test?

zarrwrite(testcase.ArrPathWrite,expData);

actData = zarrread(testcase.ArrPathWrite);
testcase.verifyEqual(actData,expData,'Failed to verify data.');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also test if the correct compression was used (using zarrinfo)?

zarrwrite(testcase.ArrPathWrite,expData);

actData = zarrread(testcase.ArrPathWrite);
testcase.verifyEqual(actData,expData,'Failed to verify data.');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also test if the correct compression was used (using zarrinfo)?

@jm9176
Copy link
Member Author

jm9176 commented May 2, 2025

Fix for #64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants